<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <h:outputStylesheet library="css" name="news.css"/>
        <h:outputScript library="scripts" name="utils.js"/>
        <link rel="shortcut icon" href="/News/resources/images/news.ico" type="image/x-icon" />
        <title><h:outputText value="News - Báo điện tử của TW Hội Khuyến Học FPT-Aptech"/></title>
    </h:head>
    <h:body>
        <f:view>
            <div id="main">
                <div id="toolBar">
                    <div class="logo">
                        <p class="lastNode">NEWS
                        </p>
                    </div>
                    <div class="info">
                        <p class="lastNode"><h:outputText value="ANHGT/B00501/FPT-APTECH"/>
                        </p>
                    </div>
                    <div class="Txt_Login">
                        <ul>
                            <c:choose> 
                                <c:when test="#{shareBean.sessionList.get('user-info').isIsLogged() != true}" >
                                    <li><h:link value="Đăng nhập" outcome="DangNhap"/></li>
                                </c:when>
                                <c:otherwise>
                                    <li><h:link value="Quản Lý" outcome="QuanLy"><f:param value="1" name="id"/></h:link> | <h:link value="Lấy Tin" outcome="LayTin"/></li>
                                </c:otherwise>
                            </c:choose>
                        </ul>
                    </div>
                    <div class="clearFloat"></div>
                </div>
                <div class="clearFloat"></div>
                <div id="catalogy">
                   
                            <h:link styleClass="lastNode catalogy-item" title="Trang tin" value="Trang tin" outcome="DanhSachTin">
                                <f:param name="ID" value="1"/>
                            </h:link> 
                      
                </div>
                <div id="Div">
                    <ui:insert id="content" name="content">
                        Noi dung
                    </ui:insert>
                </div>
                <div class="clearFloat"></div>
                <div id="line">
                </div>
                <div class="clearFloat"></div>
                <div class="conpyright">
                    <p class="lastNode"><h:outputText value="info:anhgt_b00501@fpt.aptech.ac.vn"/>
                    </p>
                </div>
                <div class="clearFloat"></div>
            </div>  
        </f:view>
    </h:body>
</html>
